package com.rocky.crm.pojo;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

public class ServiceExample {
	protected String orderByClause;

	protected boolean distinct;

	protected List<Criteria> oredCriteria;

	private Integer limit;

	private Long offset;

	public ServiceExample() {
		oredCriteria = new ArrayList<Criteria>();
	}

	public void setOrderByClause(String orderByClause) {
		this.orderByClause = orderByClause;
	}

	public String getOrderByClause() {
		return orderByClause;
	}

	public void setDistinct(boolean distinct) {
		this.distinct = distinct;
	}

	public boolean isDistinct() {
		return distinct;
	}

	public List<Criteria> getOredCriteria() {
		return oredCriteria;
	}

	public void or(Criteria criteria) {
		oredCriteria.add(criteria);
	}

	public Criteria or() {
		Criteria criteria = createCriteriaInternal();
		oredCriteria.add(criteria);
		return criteria;
	}

	public Criteria createCriteria() {
		Criteria criteria = createCriteriaInternal();
		if (oredCriteria.size() == 0) {
			oredCriteria.add(criteria);
		}
		return criteria;
	}

	protected Criteria createCriteriaInternal() {
		Criteria criteria = new Criteria();
		return criteria;
	}

	public void clear() {
		oredCriteria.clear();
		orderByClause = null;
		distinct = false;
	}

	public void setLimit(Integer limit) {
		this.limit = limit;
	}

	public Integer getLimit() {
		return limit;
	}

	public void setOffset(Long offset) {
		this.offset = offset;
	}

	public Long getOffset() {
		return offset;
	}

	protected abstract static class GeneratedCriteria {
		protected List<Criterion> criteria;

		protected GeneratedCriteria() {
			super();
			criteria = new ArrayList<Criterion>();
		}

		public boolean isValid() {
			return criteria.size() > 0;
		}

		public List<Criterion> getAllCriteria() {
			return criteria;
		}

		public List<Criterion> getCriteria() {
			return criteria;
		}

		protected void addCriterion(String condition) {
			if (condition == null) {
				throw new RuntimeException("Value for condition cannot be null");
			}
			criteria.add(new Criterion(condition));
		}

		protected void addCriterion(String condition, Object value, String property) {
			if (value == null) {
				throw new RuntimeException("Value for " + property + " cannot be null");
			}
			criteria.add(new Criterion(condition, value));
		}

		protected void addCriterion(String condition, Object value1, Object value2, String property) {
			if (value1 == null || value2 == null) {
				throw new RuntimeException("Between values for " + property + " cannot be null");
			}
			criteria.add(new Criterion(condition, value1, value2));
		}

		public Criteria andIdIsNull() {
			addCriterion("id is null");
			return (Criteria) this;
		}

		public Criteria andIdIsNotNull() {
			addCriterion("id is not null");
			return (Criteria) this;
		}

		public Criteria andIdEqualTo(Integer value) {
			addCriterion("id =", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdNotEqualTo(Integer value) {
			addCriterion("id <>", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdGreaterThan(Integer value) {
			addCriterion("id >", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdGreaterThanOrEqualTo(Integer value) {
			addCriterion("id >=", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdLessThan(Integer value) {
			addCriterion("id <", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdLessThanOrEqualTo(Integer value) {
			addCriterion("id <=", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdIn(List<Integer> values) {
			addCriterion("id in", values, "id");
			return (Criteria) this;
		}

		public Criteria andIdNotIn(List<Integer> values) {
			addCriterion("id not in", values, "id");
			return (Criteria) this;
		}

		public Criteria andIdBetween(Integer value1, Integer value2) {
			addCriterion("id between", value1, value2, "id");
			return (Criteria) this;
		}

		public Criteria andIdNotBetween(Integer value1, Integer value2) {
			addCriterion("id not between", value1, value2, "id");
			return (Criteria) this;
		}

		public Criteria andTypeIsNull() {
			addCriterion("`type` is null");
			return (Criteria) this;
		}

		public Criteria andTypeIsNotNull() {
			addCriterion("`type` is not null");
			return (Criteria) this;
		}

		public Criteria andTypeEqualTo(String value) {
			addCriterion("`type` =", value, "type");
			return (Criteria) this;
		}

		public Criteria andTypeNotEqualTo(String value) {
			addCriterion("`type` <>", value, "type");
			return (Criteria) this;
		}

		public Criteria andTypeGreaterThan(String value) {
			addCriterion("`type` >", value, "type");
			return (Criteria) this;
		}

		public Criteria andTypeGreaterThanOrEqualTo(String value) {
			addCriterion("`type` >=", value, "type");
			return (Criteria) this;
		}

		public Criteria andTypeLessThan(String value) {
			addCriterion("`type` <", value, "type");
			return (Criteria) this;
		}

		public Criteria andTypeLessThanOrEqualTo(String value) {
			addCriterion("`type` <=", value, "type");
			return (Criteria) this;
		}

		public Criteria andTypeLike(String value) {
			addCriterion("`type` like", value, "type");
			return (Criteria) this;
		}

		public Criteria andTypeNotLike(String value) {
			addCriterion("`type` not like", value, "type");
			return (Criteria) this;
		}

		public Criteria andTypeIn(List<String> values) {
			addCriterion("`type` in", values, "type");
			return (Criteria) this;
		}

		public Criteria andTypeNotIn(List<String> values) {
			addCriterion("`type` not in", values, "type");
			return (Criteria) this;
		}

		public Criteria andTypeBetween(String value1, String value2) {
			addCriterion("`type` between", value1, value2, "type");
			return (Criteria) this;
		}

		public Criteria andTypeNotBetween(String value1, String value2) {
			addCriterion("`type` not between", value1, value2, "type");
			return (Criteria) this;
		}

		public Criteria andGeneralIsNull() {
			addCriterion("`general` is null");
			return (Criteria) this;
		}

		public Criteria andGeneralIsNotNull() {
			addCriterion("`general` is not null");
			return (Criteria) this;
		}

		public Criteria andGeneralEqualTo(String value) {
			addCriterion("`general` =", value, "general");
			return (Criteria) this;
		}

		public Criteria andGeneralNotEqualTo(String value) {
			addCriterion("`general` <>", value, "general");
			return (Criteria) this;
		}

		public Criteria andGeneralGreaterThan(String value) {
			addCriterion("`general` >", value, "general");
			return (Criteria) this;
		}

		public Criteria andGeneralGreaterThanOrEqualTo(String value) {
			addCriterion("`general` >=", value, "general");
			return (Criteria) this;
		}

		public Criteria andGeneralLessThan(String value) {
			addCriterion("`general` <", value, "general");
			return (Criteria) this;
		}

		public Criteria andGeneralLessThanOrEqualTo(String value) {
			addCriterion("`general` <=", value, "general");
			return (Criteria) this;
		}

		public Criteria andGeneralLike(String value) {
			addCriterion("`general` like", value, "general");
			return (Criteria) this;
		}

		public Criteria andGeneralNotLike(String value) {
			addCriterion("`general` not like", value, "general");
			return (Criteria) this;
		}

		public Criteria andGeneralIn(List<String> values) {
			addCriterion("`general` in", values, "general");
			return (Criteria) this;
		}

		public Criteria andGeneralNotIn(List<String> values) {
			addCriterion("`general` not in", values, "general");
			return (Criteria) this;
		}

		public Criteria andGeneralBetween(String value1, String value2) {
			addCriterion("`general` between", value1, value2, "general");
			return (Criteria) this;
		}

		public Criteria andGeneralNotBetween(String value1, String value2) {
			addCriterion("`general` not between", value1, value2, "general");
			return (Criteria) this;
		}

		public Criteria andCustomerIdIsNull() {
			addCriterion("customer_id is null");
			return (Criteria) this;
		}

		public Criteria andCustomerIdIsNotNull() {
			addCriterion("customer_id is not null");
			return (Criteria) this;
		}

		public Criteria andCustomerIdEqualTo(Integer value) {
			addCriterion("customer_id =", value, "customerId");
			return (Criteria) this;
		}

		public Criteria andCustomerIdNotEqualTo(Integer value) {
			addCriterion("customer_id <>", value, "customerId");
			return (Criteria) this;
		}

		public Criteria andCustomerIdGreaterThan(Integer value) {
			addCriterion("customer_id >", value, "customerId");
			return (Criteria) this;
		}

		public Criteria andCustomerIdGreaterThanOrEqualTo(Integer value) {
			addCriterion("customer_id >=", value, "customerId");
			return (Criteria) this;
		}

		public Criteria andCustomerIdLessThan(Integer value) {
			addCriterion("customer_id <", value, "customerId");
			return (Criteria) this;
		}

		public Criteria andCustomerIdLessThanOrEqualTo(Integer value) {
			addCriterion("customer_id <=", value, "customerId");
			return (Criteria) this;
		}

		public Criteria andCustomerIdIn(List<Integer> values) {
			addCriterion("customer_id in", values, "customerId");
			return (Criteria) this;
		}

		public Criteria andCustomerIdNotIn(List<Integer> values) {
			addCriterion("customer_id not in", values, "customerId");
			return (Criteria) this;
		}

		public Criteria andCustomerIdBetween(Integer value1, Integer value2) {
			addCriterion("customer_id between", value1, value2, "customerId");
			return (Criteria) this;
		}

		public Criteria andCustomerIdNotBetween(Integer value1, Integer value2) {
			addCriterion("customer_id not between", value1, value2, "customerId");
			return (Criteria) this;
		}

		public Criteria andEmergencyIsNull() {
			addCriterion("emergency is null");
			return (Criteria) this;
		}

		public Criteria andEmergencyIsNotNull() {
			addCriterion("emergency is not null");
			return (Criteria) this;
		}

		public Criteria andEmergencyEqualTo(String value) {
			addCriterion("emergency =", value, "emergency");
			return (Criteria) this;
		}

		public Criteria andEmergencyNotEqualTo(String value) {
			addCriterion("emergency <>", value, "emergency");
			return (Criteria) this;
		}

		public Criteria andEmergencyGreaterThan(String value) {
			addCriterion("emergency >", value, "emergency");
			return (Criteria) this;
		}

		public Criteria andEmergencyGreaterThanOrEqualTo(String value) {
			addCriterion("emergency >=", value, "emergency");
			return (Criteria) this;
		}

		public Criteria andEmergencyLessThan(String value) {
			addCriterion("emergency <", value, "emergency");
			return (Criteria) this;
		}

		public Criteria andEmergencyLessThanOrEqualTo(String value) {
			addCriterion("emergency <=", value, "emergency");
			return (Criteria) this;
		}

		public Criteria andEmergencyLike(String value) {
			addCriterion("emergency like", value, "emergency");
			return (Criteria) this;
		}

		public Criteria andEmergencyNotLike(String value) {
			addCriterion("emergency not like", value, "emergency");
			return (Criteria) this;
		}

		public Criteria andEmergencyIn(List<String> values) {
			addCriterion("emergency in", values, "emergency");
			return (Criteria) this;
		}

		public Criteria andEmergencyNotIn(List<String> values) {
			addCriterion("emergency not in", values, "emergency");
			return (Criteria) this;
		}

		public Criteria andEmergencyBetween(String value1, String value2) {
			addCriterion("emergency between", value1, value2, "emergency");
			return (Criteria) this;
		}

		public Criteria andEmergencyNotBetween(String value1, String value2) {
			addCriterion("emergency not between", value1, value2, "emergency");
			return (Criteria) this;
		}

		public Criteria andPhoneNumberIsNull() {
			addCriterion("phone_number is null");
			return (Criteria) this;
		}

		public Criteria andPhoneNumberIsNotNull() {
			addCriterion("phone_number is not null");
			return (Criteria) this;
		}

		public Criteria andPhoneNumberEqualTo(String value) {
			addCriterion("phone_number =", value, "phoneNumber");
			return (Criteria) this;
		}

		public Criteria andPhoneNumberNotEqualTo(String value) {
			addCriterion("phone_number <>", value, "phoneNumber");
			return (Criteria) this;
		}

		public Criteria andPhoneNumberGreaterThan(String value) {
			addCriterion("phone_number >", value, "phoneNumber");
			return (Criteria) this;
		}

		public Criteria andPhoneNumberGreaterThanOrEqualTo(String value) {
			addCriterion("phone_number >=", value, "phoneNumber");
			return (Criteria) this;
		}

		public Criteria andPhoneNumberLessThan(String value) {
			addCriterion("phone_number <", value, "phoneNumber");
			return (Criteria) this;
		}

		public Criteria andPhoneNumberLessThanOrEqualTo(String value) {
			addCriterion("phone_number <=", value, "phoneNumber");
			return (Criteria) this;
		}

		public Criteria andPhoneNumberLike(String value) {
			addCriterion("phone_number like", value, "phoneNumber");
			return (Criteria) this;
		}

		public Criteria andPhoneNumberNotLike(String value) {
			addCriterion("phone_number not like", value, "phoneNumber");
			return (Criteria) this;
		}

		public Criteria andPhoneNumberIn(List<String> values) {
			addCriterion("phone_number in", values, "phoneNumber");
			return (Criteria) this;
		}

		public Criteria andPhoneNumberNotIn(List<String> values) {
			addCriterion("phone_number not in", values, "phoneNumber");
			return (Criteria) this;
		}

		public Criteria andPhoneNumberBetween(String value1, String value2) {
			addCriterion("phone_number between", value1, value2, "phoneNumber");
			return (Criteria) this;
		}

		public Criteria andPhoneNumberNotBetween(String value1, String value2) {
			addCriterion("phone_number not between", value1, value2, "phoneNumber");
			return (Criteria) this;
		}

		public Criteria andStatusIsNull() {
			addCriterion("`status` is null");
			return (Criteria) this;
		}

		public Criteria andStatusIsNotNull() {
			addCriterion("`status` is not null");
			return (Criteria) this;
		}

		public Criteria andStatusEqualTo(String value) {
			addCriterion("`status` =", value, "status");
			return (Criteria) this;
		}

		public Criteria andStatusNotEqualTo(String value) {
			addCriterion("`status` <>", value, "status");
			return (Criteria) this;
		}

		public Criteria andStatusGreaterThan(String value) {
			addCriterion("`status` >", value, "status");
			return (Criteria) this;
		}

		public Criteria andStatusGreaterThanOrEqualTo(String value) {
			addCriterion("`status` >=", value, "status");
			return (Criteria) this;
		}

		public Criteria andStatusLessThan(String value) {
			addCriterion("`status` <", value, "status");
			return (Criteria) this;
		}

		public Criteria andStatusLessThanOrEqualTo(String value) {
			addCriterion("`status` <=", value, "status");
			return (Criteria) this;
		}

		public Criteria andStatusLike(String value) {
			addCriterion("`status` like", value, "status");
			return (Criteria) this;
		}

		public Criteria andStatusNotLike(String value) {
			addCriterion("`status` not like", value, "status");
			return (Criteria) this;
		}

		public Criteria andStatusIn(List<String> values) {
			addCriterion("`status` in", values, "status");
			return (Criteria) this;
		}

		public Criteria andStatusNotIn(List<String> values) {
			addCriterion("`status` not in", values, "status");
			return (Criteria) this;
		}

		public Criteria andStatusBetween(String value1, String value2) {
			addCriterion("`status` between", value1, value2, "status");
			return (Criteria) this;
		}

		public Criteria andStatusNotBetween(String value1, String value2) {
			addCriterion("`status` not between", value1, value2, "status");
			return (Criteria) this;
		}

		public Criteria andRequestIsNull() {
			addCriterion("request is null");
			return (Criteria) this;
		}

		public Criteria andRequestIsNotNull() {
			addCriterion("request is not null");
			return (Criteria) this;
		}

		public Criteria andRequestEqualTo(String value) {
			addCriterion("request =", value, "request");
			return (Criteria) this;
		}

		public Criteria andRequestNotEqualTo(String value) {
			addCriterion("request <>", value, "request");
			return (Criteria) this;
		}

		public Criteria andRequestGreaterThan(String value) {
			addCriterion("request >", value, "request");
			return (Criteria) this;
		}

		public Criteria andRequestGreaterThanOrEqualTo(String value) {
			addCriterion("request >=", value, "request");
			return (Criteria) this;
		}

		public Criteria andRequestLessThan(String value) {
			addCriterion("request <", value, "request");
			return (Criteria) this;
		}

		public Criteria andRequestLessThanOrEqualTo(String value) {
			addCriterion("request <=", value, "request");
			return (Criteria) this;
		}

		public Criteria andRequestLike(String value) {
			addCriterion("request like", value, "request");
			return (Criteria) this;
		}

		public Criteria andRequestNotLike(String value) {
			addCriterion("request not like", value, "request");
			return (Criteria) this;
		}

		public Criteria andRequestIn(List<String> values) {
			addCriterion("request in", values, "request");
			return (Criteria) this;
		}

		public Criteria andRequestNotIn(List<String> values) {
			addCriterion("request not in", values, "request");
			return (Criteria) this;
		}

		public Criteria andRequestBetween(String value1, String value2) {
			addCriterion("request between", value1, value2, "request");
			return (Criteria) this;
		}

		public Criteria andRequestNotBetween(String value1, String value2) {
			addCriterion("request not between", value1, value2, "request");
			return (Criteria) this;
		}

		public Criteria andCreaterIsNull() {
			addCriterion("creater is null");
			return (Criteria) this;
		}

		public Criteria andCreaterIsNotNull() {
			addCriterion("creater is not null");
			return (Criteria) this;
		}

		public Criteria andCreaterEqualTo(Integer value) {
			addCriterion("creater =", value, "creater");
			return (Criteria) this;
		}

		public Criteria andCreaterNotEqualTo(Integer value) {
			addCriterion("creater <>", value, "creater");
			return (Criteria) this;
		}

		public Criteria andCreaterGreaterThan(Integer value) {
			addCriterion("creater >", value, "creater");
			return (Criteria) this;
		}

		public Criteria andCreaterGreaterThanOrEqualTo(Integer value) {
			addCriterion("creater >=", value, "creater");
			return (Criteria) this;
		}

		public Criteria andCreaterLessThan(Integer value) {
			addCriterion("creater <", value, "creater");
			return (Criteria) this;
		}

		public Criteria andCreaterLessThanOrEqualTo(Integer value) {
			addCriterion("creater <=", value, "creater");
			return (Criteria) this;
		}

		public Criteria andCreaterIn(List<Integer> values) {
			addCriterion("creater in", values, "creater");
			return (Criteria) this;
		}

		public Criteria andCreaterNotIn(List<Integer> values) {
			addCriterion("creater not in", values, "creater");
			return (Criteria) this;
		}

		public Criteria andCreaterBetween(Integer value1, Integer value2) {
			addCriterion("creater between", value1, value2, "creater");
			return (Criteria) this;
		}

		public Criteria andCreaterNotBetween(Integer value1, Integer value2) {
			addCriterion("creater not between", value1, value2, "creater");
			return (Criteria) this;
		}

		public Criteria andCreateDateIsNull() {
			addCriterion("create_date is null");
			return (Criteria) this;
		}

		public Criteria andCreateDateIsNotNull() {
			addCriterion("create_date is not null");
			return (Criteria) this;
		}

		public Criteria andCreateDateEqualTo(LocalDateTime value) {
			addCriterion("create_date =", value, "createDate");
			return (Criteria) this;
		}

		public Criteria andCreateDateNotEqualTo(LocalDateTime value) {
			addCriterion("create_date <>", value, "createDate");
			return (Criteria) this;
		}

		public Criteria andCreateDateGreaterThan(LocalDateTime value) {
			addCriterion("create_date >", value, "createDate");
			return (Criteria) this;
		}

		public Criteria andCreateDateGreaterThanOrEqualTo(LocalDateTime value) {
			addCriterion("create_date >=", value, "createDate");
			return (Criteria) this;
		}

		public Criteria andCreateDateLessThan(LocalDateTime value) {
			addCriterion("create_date <", value, "createDate");
			return (Criteria) this;
		}

		public Criteria andCreateDateLessThanOrEqualTo(LocalDateTime value) {
			addCriterion("create_date <=", value, "createDate");
			return (Criteria) this;
		}

		public Criteria andCreateDateIn(List<LocalDateTime> values) {
			addCriterion("create_date in", values, "createDate");
			return (Criteria) this;
		}

		public Criteria andCreateDateNotIn(List<LocalDateTime> values) {
			addCriterion("create_date not in", values, "createDate");
			return (Criteria) this;
		}

		public Criteria andCreateDateBetween(LocalDateTime value1, LocalDateTime value2) {
			addCriterion("create_date between", value1, value2, "createDate");
			return (Criteria) this;
		}

		public Criteria andCreateDateNotBetween(LocalDateTime value1, LocalDateTime value2) {
			addCriterion("create_date not between", value1, value2, "createDate");
			return (Criteria) this;
		}

		public Criteria andHandleContentIsNull() {
			addCriterion("handle_content is null");
			return (Criteria) this;
		}

		public Criteria andHandleContentIsNotNull() {
			addCriterion("handle_content is not null");
			return (Criteria) this;
		}

		public Criteria andHandleContentEqualTo(String value) {
			addCriterion("handle_content =", value, "handleContent");
			return (Criteria) this;
		}

		public Criteria andHandleContentNotEqualTo(String value) {
			addCriterion("handle_content <>", value, "handleContent");
			return (Criteria) this;
		}

		public Criteria andHandleContentGreaterThan(String value) {
			addCriterion("handle_content >", value, "handleContent");
			return (Criteria) this;
		}

		public Criteria andHandleContentGreaterThanOrEqualTo(String value) {
			addCriterion("handle_content >=", value, "handleContent");
			return (Criteria) this;
		}

		public Criteria andHandleContentLessThan(String value) {
			addCriterion("handle_content <", value, "handleContent");
			return (Criteria) this;
		}

		public Criteria andHandleContentLessThanOrEqualTo(String value) {
			addCriterion("handle_content <=", value, "handleContent");
			return (Criteria) this;
		}

		public Criteria andHandleContentLike(String value) {
			addCriterion("handle_content like", value, "handleContent");
			return (Criteria) this;
		}

		public Criteria andHandleContentNotLike(String value) {
			addCriterion("handle_content not like", value, "handleContent");
			return (Criteria) this;
		}

		public Criteria andHandleContentIn(List<String> values) {
			addCriterion("handle_content in", values, "handleContent");
			return (Criteria) this;
		}

		public Criteria andHandleContentNotIn(List<String> values) {
			addCriterion("handle_content not in", values, "handleContent");
			return (Criteria) this;
		}

		public Criteria andHandleContentBetween(String value1, String value2) {
			addCriterion("handle_content between", value1, value2, "handleContent");
			return (Criteria) this;
		}

		public Criteria andHandleContentNotBetween(String value1, String value2) {
			addCriterion("handle_content not between", value1, value2, "handleContent");
			return (Criteria) this;
		}

		public Criteria andHandlerIsNull() {
			addCriterion("`handler` is null");
			return (Criteria) this;
		}

		public Criteria andHandlerIsNotNull() {
			addCriterion("`handler` is not null");
			return (Criteria) this;
		}

		public Criteria andHandlerEqualTo(Integer value) {
			addCriterion("`handler` =", value, "handler");
			return (Criteria) this;
		}

		public Criteria andHandlerNotEqualTo(Integer value) {
			addCriterion("`handler` <>", value, "handler");
			return (Criteria) this;
		}

		public Criteria andHandlerGreaterThan(Integer value) {
			addCriterion("`handler` >", value, "handler");
			return (Criteria) this;
		}

		public Criteria andHandlerGreaterThanOrEqualTo(Integer value) {
			addCriterion("`handler` >=", value, "handler");
			return (Criteria) this;
		}

		public Criteria andHandlerLessThan(Integer value) {
			addCriterion("`handler` <", value, "handler");
			return (Criteria) this;
		}

		public Criteria andHandlerLessThanOrEqualTo(Integer value) {
			addCriterion("`handler` <=", value, "handler");
			return (Criteria) this;
		}

		public Criteria andHandlerIn(List<Integer> values) {
			addCriterion("`handler` in", values, "handler");
			return (Criteria) this;
		}

		public Criteria andHandlerNotIn(List<Integer> values) {
			addCriterion("`handler` not in", values, "handler");
			return (Criteria) this;
		}

		public Criteria andHandlerBetween(Integer value1, Integer value2) {
			addCriterion("`handler` between", value1, value2, "handler");
			return (Criteria) this;
		}

		public Criteria andHandlerNotBetween(Integer value1, Integer value2) {
			addCriterion("`handler` not between", value1, value2, "handler");
			return (Criteria) this;
		}

		public Criteria andHandlerTimeIsNull() {
			addCriterion("handler_time is null");
			return (Criteria) this;
		}

		public Criteria andHandlerTimeIsNotNull() {
			addCriterion("handler_time is not null");
			return (Criteria) this;
		}

		public Criteria andHandlerTimeEqualTo(LocalDateTime value) {
			addCriterion("handler_time =", value, "handlerTime");
			return (Criteria) this;
		}

		public Criteria andHandlerTimeNotEqualTo(LocalDateTime value) {
			addCriterion("handler_time <>", value, "handlerTime");
			return (Criteria) this;
		}

		public Criteria andHandlerTimeGreaterThan(LocalDateTime value) {
			addCriterion("handler_time >", value, "handlerTime");
			return (Criteria) this;
		}

		public Criteria andHandlerTimeGreaterThanOrEqualTo(LocalDateTime value) {
			addCriterion("handler_time >=", value, "handlerTime");
			return (Criteria) this;
		}

		public Criteria andHandlerTimeLessThan(LocalDateTime value) {
			addCriterion("handler_time <", value, "handlerTime");
			return (Criteria) this;
		}

		public Criteria andHandlerTimeLessThanOrEqualTo(LocalDateTime value) {
			addCriterion("handler_time <=", value, "handlerTime");
			return (Criteria) this;
		}

		public Criteria andHandlerTimeIn(List<LocalDateTime> values) {
			addCriterion("handler_time in", values, "handlerTime");
			return (Criteria) this;
		}

		public Criteria andHandlerTimeNotIn(List<LocalDateTime> values) {
			addCriterion("handler_time not in", values, "handlerTime");
			return (Criteria) this;
		}

		public Criteria andHandlerTimeBetween(LocalDateTime value1, LocalDateTime value2) {
			addCriterion("handler_time between", value1, value2, "handlerTime");
			return (Criteria) this;
		}

		public Criteria andHandlerTimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
			addCriterion("handler_time not between", value1, value2, "handlerTime");
			return (Criteria) this;
		}

		public Criteria andHandleResultIsNull() {
			addCriterion("handle_result is null");
			return (Criteria) this;
		}

		public Criteria andHandleResultIsNotNull() {
			addCriterion("handle_result is not null");
			return (Criteria) this;
		}

		public Criteria andHandleResultEqualTo(String value) {
			addCriterion("handle_result =", value, "handleResult");
			return (Criteria) this;
		}

		public Criteria andHandleResultNotEqualTo(String value) {
			addCriterion("handle_result <>", value, "handleResult");
			return (Criteria) this;
		}

		public Criteria andHandleResultGreaterThan(String value) {
			addCriterion("handle_result >", value, "handleResult");
			return (Criteria) this;
		}

		public Criteria andHandleResultGreaterThanOrEqualTo(String value) {
			addCriterion("handle_result >=", value, "handleResult");
			return (Criteria) this;
		}

		public Criteria andHandleResultLessThan(String value) {
			addCriterion("handle_result <", value, "handleResult");
			return (Criteria) this;
		}

		public Criteria andHandleResultLessThanOrEqualTo(String value) {
			addCriterion("handle_result <=", value, "handleResult");
			return (Criteria) this;
		}

		public Criteria andHandleResultLike(String value) {
			addCriterion("handle_result like", value, "handleResult");
			return (Criteria) this;
		}

		public Criteria andHandleResultNotLike(String value) {
			addCriterion("handle_result not like", value, "handleResult");
			return (Criteria) this;
		}

		public Criteria andHandleResultIn(List<String> values) {
			addCriterion("handle_result in", values, "handleResult");
			return (Criteria) this;
		}

		public Criteria andHandleResultNotIn(List<String> values) {
			addCriterion("handle_result not in", values, "handleResult");
			return (Criteria) this;
		}

		public Criteria andHandleResultBetween(String value1, String value2) {
			addCriterion("handle_result between", value1, value2, "handleResult");
			return (Criteria) this;
		}

		public Criteria andHandleResultNotBetween(String value1, String value2) {
			addCriterion("handle_result not between", value1, value2, "handleResult");
			return (Criteria) this;
		}

		public Criteria andDegreeIsNull() {
			addCriterion("`degree` is null");
			return (Criteria) this;
		}

		public Criteria andDegreeIsNotNull() {
			addCriterion("`degree` is not null");
			return (Criteria) this;
		}

		public Criteria andDegreeEqualTo(String value) {
			addCriterion("`degree` =", value, "degree");
			return (Criteria) this;
		}

		public Criteria andDegreeNotEqualTo(String value) {
			addCriterion("`degree` <>", value, "degree");
			return (Criteria) this;
		}

		public Criteria andDegreeGreaterThan(String value) {
			addCriterion("`degree` >", value, "degree");
			return (Criteria) this;
		}

		public Criteria andDegreeGreaterThanOrEqualTo(String value) {
			addCriterion("`degree` >=", value, "degree");
			return (Criteria) this;
		}

		public Criteria andDegreeLessThan(String value) {
			addCriterion("`degree` <", value, "degree");
			return (Criteria) this;
		}

		public Criteria andDegreeLessThanOrEqualTo(String value) {
			addCriterion("`degree` <=", value, "degree");
			return (Criteria) this;
		}

		public Criteria andDegreeLike(String value) {
			addCriterion("`degree` like", value, "degree");
			return (Criteria) this;
		}

		public Criteria andDegreeNotLike(String value) {
			addCriterion("`degree` not like", value, "degree");
			return (Criteria) this;
		}

		public Criteria andDegreeIn(List<String> values) {
			addCriterion("`degree` in", values, "degree");
			return (Criteria) this;
		}

		public Criteria andDegreeNotIn(List<String> values) {
			addCriterion("`degree` not in", values, "degree");
			return (Criteria) this;
		}

		public Criteria andDegreeBetween(String value1, String value2) {
			addCriterion("`degree` between", value1, value2, "degree");
			return (Criteria) this;
		}

		public Criteria andDegreeNotBetween(String value1, String value2) {
			addCriterion("`degree` not between", value1, value2, "degree");
			return (Criteria) this;
		}

		public Criteria andDeleteStatusIsNull() {
			addCriterion("delete_status is null");
			return (Criteria) this;
		}

		public Criteria andDeleteStatusIsNotNull() {
			addCriterion("delete_status is not null");
			return (Criteria) this;
		}

		public Criteria andDeleteStatusEqualTo(Integer value) {
			addCriterion("delete_status =", value, "deleteStatus");
			return (Criteria) this;
		}

		public Criteria andDeleteStatusNotEqualTo(Integer value) {
			addCriterion("delete_status <>", value, "deleteStatus");
			return (Criteria) this;
		}

		public Criteria andDeleteStatusGreaterThan(Integer value) {
			addCriterion("delete_status >", value, "deleteStatus");
			return (Criteria) this;
		}

		public Criteria andDeleteStatusGreaterThanOrEqualTo(Integer value) {
			addCriterion("delete_status >=", value, "deleteStatus");
			return (Criteria) this;
		}

		public Criteria andDeleteStatusLessThan(Integer value) {
			addCriterion("delete_status <", value, "deleteStatus");
			return (Criteria) this;
		}

		public Criteria andDeleteStatusLessThanOrEqualTo(Integer value) {
			addCriterion("delete_status <=", value, "deleteStatus");
			return (Criteria) this;
		}

		public Criteria andDeleteStatusIn(List<Integer> values) {
			addCriterion("delete_status in", values, "deleteStatus");
			return (Criteria) this;
		}

		public Criteria andDeleteStatusNotIn(List<Integer> values) {
			addCriterion("delete_status not in", values, "deleteStatus");
			return (Criteria) this;
		}

		public Criteria andDeleteStatusBetween(Integer value1, Integer value2) {
			addCriterion("delete_status between", value1, value2, "deleteStatus");
			return (Criteria) this;
		}

		public Criteria andDeleteStatusNotBetween(Integer value1, Integer value2) {
			addCriterion("delete_status not between", value1, value2, "deleteStatus");
			return (Criteria) this;
		}
	}

	/**
	 *
	 */
	public static class Criteria extends GeneratedCriteria {

		protected Criteria() {
			super();
		}
	}

	public static class Criterion {
		private String condition;

		private Object value;

		private Object secondValue;

		private boolean noValue;

		private boolean singleValue;

		private boolean betweenValue;

		private boolean listValue;

		private String typeHandler;

		public String getCondition() {
			return condition;
		}

		public Object getValue() {
			return value;
		}

		public Object getSecondValue() {
			return secondValue;
		}

		public boolean isNoValue() {
			return noValue;
		}

		public boolean isSingleValue() {
			return singleValue;
		}

		public boolean isBetweenValue() {
			return betweenValue;
		}

		public boolean isListValue() {
			return listValue;
		}

		public String getTypeHandler() {
			return typeHandler;
		}

		protected Criterion(String condition) {
			super();
			this.condition = condition;
			this.typeHandler = null;
			this.noValue = true;
		}

		protected Criterion(String condition, Object value, String typeHandler) {
			super();
			this.condition = condition;
			this.value = value;
			this.typeHandler = typeHandler;
			if (value instanceof List<?>) {
				this.listValue = true;
			} else {
				this.singleValue = true;
			}
		}

		protected Criterion(String condition, Object value) {
			this(condition, value, null);
		}

		protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
			super();
			this.condition = condition;
			this.value = value;
			this.secondValue = secondValue;
			this.typeHandler = typeHandler;
			this.betweenValue = true;
		}

		protected Criterion(String condition, Object value, Object secondValue) {
			this(condition, value, secondValue, null);
		}
	}
}